package com.work.saturn.bean;

import com.immo.libcommon.base.BaseBean;

import java.util.List;
@SuppressWarnings("unused")
public class InterestSubmitBean extends BaseBean {

    /**
     * payload : {"username":"string","role":"user","email":"string","phone":"string","id":"string","canCreateNewToken":false,"canCreateNewFutureBureau":false,"wallet":{"tokens":[{"name":"string","symbol":"string","decimals":0,"amount":0,"history":[{"from":"string","to":"string","amount":0,"balance":0}]}]},"bureaus":{"bureaus":[{"name":"string","content":"string","endTime":"string","option1":"string","option2":"string","option3":"string","option4":"string","option5":"string","judgePerson":"string","creator":"string","createTime":"string","history":[{"from":"string","to":"string","tokenName":"string","chooseOption":"string","amount":0}]}]}}
     */

    private PayloadBean payload;

    public PayloadBean getPayload() {
        return payload;
    }

    public void setPayload(PayloadBean payload) {
        this.payload = payload;
    }

    public static class PayloadBean {
        /**
         * username : string
         * role : user
         * email : string
         * phone : string
         * id : string
         * canCreateNewToken : false
         * canCreateNewFutureBureau : false
         * wallet : {"tokens":[{"name":"string","symbol":"string","decimals":0,"amount":0,"history":[{"from":"string","to":"string","amount":0,"balance":0}]}]}
         * bureaus : {"bureaus":[{"name":"string","content":"string","endTime":"string","option1":"string","option2":"string","option3":"string","option4":"string","option5":"string","judgePerson":"string","creator":"string","createTime":"string","history":[{"from":"string","to":"string","tokenName":"string","chooseOption":"string","amount":0}]}]}
         */

        private String username;
        private String role;
        private String email;
        private String phone;
        private String id;
        private boolean canCreateNewToken;
        private boolean canCreateNewFutureBureau;
        private WalletBean wallet;
        private BureausBeanX bureaus;

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public String getRole() {
            return role;
        }

        public void setRole(String role) {
            this.role = role;
        }

        public String getEmail() {
            return email;
        }

        public void setEmail(String email) {
            this.email = email;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public boolean isCanCreateNewToken() {
            return canCreateNewToken;
        }

        public void setCanCreateNewToken(boolean canCreateNewToken) {
            this.canCreateNewToken = canCreateNewToken;
        }

        public boolean isCanCreateNewFutureBureau() {
            return canCreateNewFutureBureau;
        }

        public void setCanCreateNewFutureBureau(boolean canCreateNewFutureBureau) {
            this.canCreateNewFutureBureau = canCreateNewFutureBureau;
        }

        public WalletBean getWallet() {
            return wallet;
        }

        public void setWallet(WalletBean wallet) {
            this.wallet = wallet;
        }

        public BureausBeanX getBureaus() {
            return bureaus;
        }

        public void setBureaus(BureausBeanX bureaus) {
            this.bureaus = bureaus;
        }

        public static class WalletBean {
            private List<TokensBean> tokens;

            public List<TokensBean> getTokens() {
                return tokens;
            }

            public void setTokens(List<TokensBean> tokens) {
                this.tokens = tokens;
            }

            public static class TokensBean {
                /**
                 * name : string
                 * symbol : string
                 * decimals : 0
                 * amount : 0
                 * history : [{"from":"string","to":"string","amount":0,"balance":0}]
                 */

                private String name;
                private String symbol;
                private int decimals;
                private int amount;
                private List<HistoryBean> history;

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public String getSymbol() {
                    return symbol;
                }

                public void setSymbol(String symbol) {
                    this.symbol = symbol;
                }

                public int getDecimals() {
                    return decimals;
                }

                public void setDecimals(int decimals) {
                    this.decimals = decimals;
                }

                public int getAmount() {
                    return amount;
                }

                public void setAmount(int amount) {
                    this.amount = amount;
                }

                public List<HistoryBean> getHistory() {
                    return history;
                }

                public void setHistory(List<HistoryBean> history) {
                    this.history = history;
                }

                public static class HistoryBean {
                    /**
                     * from : string
                     * to : string
                     * amount : 0
                     * balance : 0
                     */

                    private String from;
                    private String to;
                    private int amount;
                    private int balance;

                    public String getFrom() {
                        return from;
                    }

                    public void setFrom(String from) {
                        this.from = from;
                    }

                    public String getTo() {
                        return to;
                    }

                    public void setTo(String to) {
                        this.to = to;
                    }

                    public int getAmount() {
                        return amount;
                    }

                    public void setAmount(int amount) {
                        this.amount = amount;
                    }

                    public int getBalance() {
                        return balance;
                    }

                    public void setBalance(int balance) {
                        this.balance = balance;
                    }
                }
            }
        }

        public static class BureausBeanX {
            private List<BureausBean> bureaus;

            public List<BureausBean> getBureaus() {
                return bureaus;
            }

            public void setBureaus(List<BureausBean> bureaus) {
                this.bureaus = bureaus;
            }

            public static class BureausBean {
                /**
                 * name : string
                 * content : string
                 * endTime : string
                 * option1 : string
                 * option2 : string
                 * option3 : string
                 * option4 : string
                 * option5 : string
                 * judgePerson : string
                 * creator : string
                 * createTime : string
                 * history : [{"from":"string","to":"string","tokenName":"string","chooseOption":"string","amount":0}]
                 */

                private String name;
                private String content;
                private String endTime;
                private String option1;
                private String option2;
                private String option3;
                private String option4;
                private String option5;
                private String judgePerson;
                private String creator;
                private String createTime;
                private List<HistoryBeanX> history;

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public String getContent() {
                    return content;
                }

                public void setContent(String content) {
                    this.content = content;
                }

                public String getEndTime() {
                    return endTime;
                }

                public void setEndTime(String endTime) {
                    this.endTime = endTime;
                }

                public String getOption1() {
                    return option1;
                }

                public void setOption1(String option1) {
                    this.option1 = option1;
                }

                public String getOption2() {
                    return option2;
                }

                public void setOption2(String option2) {
                    this.option2 = option2;
                }

                public String getOption3() {
                    return option3;
                }

                public void setOption3(String option3) {
                    this.option3 = option3;
                }

                public String getOption4() {
                    return option4;
                }

                public void setOption4(String option4) {
                    this.option4 = option4;
                }

                public String getOption5() {
                    return option5;
                }

                public void setOption5(String option5) {
                    this.option5 = option5;
                }

                public String getJudgePerson() {
                    return judgePerson;
                }

                public void setJudgePerson(String judgePerson) {
                    this.judgePerson = judgePerson;
                }

                public String getCreator() {
                    return creator;
                }

                public void setCreator(String creator) {
                    this.creator = creator;
                }

                public String getCreateTime() {
                    return createTime;
                }

                public void setCreateTime(String createTime) {
                    this.createTime = createTime;
                }

                public List<HistoryBeanX> getHistory() {
                    return history;
                }

                public void setHistory(List<HistoryBeanX> history) {
                    this.history = history;
                }

                public static class HistoryBeanX {
                    /**
                     * from : string
                     * to : string
                     * tokenName : string
                     * chooseOption : string
                     * amount : 0
                     */

                    private String from;
                    private String to;
                    private String tokenName;
                    private String chooseOption;
                    private int amount;

                    public String getFrom() {
                        return from;
                    }

                    public void setFrom(String from) {
                        this.from = from;
                    }

                    public String getTo() {
                        return to;
                    }

                    public void setTo(String to) {
                        this.to = to;
                    }

                    public String getTokenName() {
                        return tokenName;
                    }

                    public void setTokenName(String tokenName) {
                        this.tokenName = tokenName;
                    }

                    public String getChooseOption() {
                        return chooseOption;
                    }

                    public void setChooseOption(String chooseOption) {
                        this.chooseOption = chooseOption;
                    }

                    public int getAmount() {
                        return amount;
                    }

                    public void setAmount(int amount) {
                        this.amount = amount;
                    }
                }
            }
        }
    }
}
